/**
 * 按钮样式
 */

 /** 按钮公共样式 */
.btn {
	display: inline-block;
	position: relative;
	line-height: 1;
    min-height: 32px;
    white-space: nowrap;
    cursor: pointer;
    border: 1px solid;
    -webkit-appearance: none;
    text-align: center;
    box-sizing: border-box;
    outline: none;
    transition: .1s;
    font-weight: 500;
    user-select: none;
    vertical-align: middle;
    padding: 8px 15px;
    font-size: 14px;
    border-radius: 4px;
    font-family: Inter, Roboto, Oxygen, "Fira Sans", "Helvetica Neue", sans-serif;
	letter-spacing: 2px;
}

.btn-default {
	.btn();
	color: #000;
	border-color: @color-grey;
	background-color: #fff;
	&:hover {
		color: @color-primary;
		background-color: @color-light-blue;
	}
	&:active {
		color: @color-primary;
		border-color: @color-primary;
		background-color: @color-light-blue;
	}
}

.btn-primary {
	.btn();
	color: #fff;
	border-color: @color-primary;
	background-color: @color-primary;
	&:hover {
		opacity: 0.7;
	}
}

.btn-success {
	.btn();
	color: #fff;
	border-color: @color-success;
	background-color: @color-success;
	&:hover {
		opacity: 0.7;
	}
}

.btn-danger {
	.btn();
	color: #fff;
	border-color: @color-danger;
	background-color: @color-danger;
	&:hover {
		opacity: 0.7;
	}
}

.btn-link {
    color: @color-primary;
    cursor: pointer;
}